//
//  TTMineViewModel.m
//  TaoTuo
//
//  Created by admin on 2019/10/17.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTMineViewModel.h"

@implementation TTMineViewModel

+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle itemArray:(NSArray<TTMineItemModel *> *)itemArray
{
    return [self setModelWithSectionTitle:sectionTitle btnTitle:nil target:nil action:nil itemArray:itemArray];
}


+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle btnTitle:(NSString *)btnTitle target:(id)target action:(SEL)action itemArray:(NSArray<TTMineItemModel *> *)itemArray
{
    TTMineViewModel *model = [[self alloc] init];
    model.sectionTitle = sectionTitle;
    model.btnTitle = btnTitle;
    model.target = target;
    model.action = action;
    model.itemModelArray = itemArray;
    return model;
}




@end
